package com.ujs.order.feign;

import com.ujs.commonutils.constant.R;
import com.ujs.servicebase.entity.MemberVoOrder;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author zhangshihao
 * @create 2023-09-03 21:05
 */
@FeignClient("service-ucenter")
@Component
public interface UcenterFeignService {
    @GetMapping("/educenter/member/getMemberInfo/{memberId}")
    @ApiOperation("根据用户id获取用户信息")
    MemberVoOrder getMemberInfoById(@PathVariable("memberId") String memberId);
}
